package com.iweb.day05.icecream;

import java.util.Scanner;

/**
 * @author WuYongheng
 * @date 2021/11/2
 * @description
 */
public class FactoryTasteDemo {
    public static void main(String[] args) {
        IceCreamFactory iceCreamFactory = new IceCreamFactory();

        Scanner scanner = new Scanner(System.in);

        // 输入想要的口味
        System.out.println("请输入想要的口味：（草莓、蓝莓、香蕉）");
        String tasteType = scanner.nextLine();
        iceCreamFactory.getTaste(tasteType);

    }

}
